<html lang="en" xml:lang="en"><head>
<META http-equiv="Content-Type" content="text/html">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><META name="description" content="The My Location widget allows the network to detect your physical location and zoom the map to it."><meta name="content-language" content="en"><link href="rsrc/htmlhelp.css" rel="stylesheet" type="text/css"><title>Web AppBuilder for ArcGIS | Help - My Location widget</title>
                <script type="text/javascript" language="JavaScript">
                    var pathL  = self.location.pathname.split ("/");
                    var fname = pathL[pathL.length-1];
                    var i = fname.lastIndexOf (".htm");
                    if (i>=0) {
                    fname = fname.substring (0, i)
                    } else {
                    //??
                    }
                    if (self.location.hash) {
				    		      fname = fname + self.location.hash;
						        }
                    self.location.replace ("../index.html#//" + fname);
                </script>
                </head><!--Publication GUID: [GUID-E7D1C130-8F87-4109-8D61-E73A46083F52]--><!--Topic GUID: [GUID-C0BFFE8E-B65A-4D94-8C23-8A1452BDD125]--><body><div id="content"><div class="header"><h1>My Location widget</h1><div id="breadcrumb"></div></div>
<p id="GUID-C0E4B17D-330A-4B4E-8024-86458D3415EF">
The My Location widget allows the network to detect your physical location and zoom the map to it. The location can be highlighted if necessary.</p><p id="GUID-CD36A100-1E0F-4817-B8C9-11A5926CC1BC">The widget takes  advantage of HTML geolocation. When the app runs on desktops, it uses the browser on the network to detect the location. When the app runs on mobile devices, by default, it uses GPS on the device to determine your location.  However, compared to the native apps, the accuracy of the location in the browser-based app varies based on the type of browser and device.  This is a known limitation.</p>
<div class="section1" id="ESRI_SECTION1_206E6AF22FCE476B8FB04458AD6227FD" purpose="section1"><h2>Configure the My Location widget</h2></div><div class="wfsteps" purpose="wfsteps"><h4></h4><div class="steps" id="GUID-AC6BA654-9C89-4338-97E0-A18EAF592BEF"><div class="step_title">Steps:</div><ol>
<li purpose="step" id="GUID-D244F290-28E6-44F6-84BD-885F7C3307E8">
<span purpose="cmd" id="GUID-91F10B10-85D5-4820-B985-26A6A81E57E7">
Hover the mouse over the My Location widget and click the small eye icon <img purpose="img" placement="inline" alt="Show or hide widget" title="Show or hide widget" src="03w3/GUID-19F26705-0506-4405-801F-B7897D824705-web.png"> to show or hide this widget in your application.
</span>
<div class="info" purpose="info"><p id="GUID-AC0DC6B8-0CC1-4F74-9131-63F94FE4CAF5">By default, the widgets included with a theme are visible.</p></div></li>
<li purpose="step" id="ESRI_STEP_375C831A909A41A8B30226A60C42E4A9"><span purpose="cmd" id="GUID-2B917DCF-AC34-4916-BCC2-CCA668A3F127">Hover the mouse over the My Location widget and click the small edit icon
<img purpose="img" placement="inline" alt="Edit" title="Edit" src="03w3/GUID-31D329BD-BC73-4BBE-AE1D-3A1261BF912A-web.png">.</span><div class="stepresult" purpose="stepresult"><p id="GUID-4CAF2F66-1D86-49CA-8F08-22C0C640DE89">The configuration window opens.</p></div></li><li purpose="step" id="ESRI_STEP_1D46631089B54C62A1AAD9DBCC278BFE"><span purpose="cmd" id="GUID-376E4982-26CC-45C2-9FA1-C8BA0404A41C">Change the <span class="uicontrol">Timeout</span> value if necessary.</span><div class="info" purpose="info"><p id="GUID-290A1654-D9C0-4D29-ACF0-1284F480BC69">The default timeout value is 15,000 milliseconds.</p></div></li><li purpose="step" id="ESRI_STEP_B79B63701560455ABE025E6271134286"><span purpose="cmd" id="GUID-6822230A-B892-4683-A7F1-B5754313B2B1"> Check or uncheck the <span class="uicontrol">Highlight location</span>  check box.</span><div class="stepresult" purpose="stepresult"><p id="GUID-2958414E-4ACE-4090-BDA4-2BA8EB972D6D">When this check box is checked, the location highlights on the map.</p></div></li><li purpose="step" id="ESRI_STEP_8F604C31A4C345E6A58CD25A52A4DC28"><span purpose="cmd" id="GUID-E3BEDEAA-6516-430C-BD70-6D54D79D6D74"> Check or uncheck the <span class="uicontrol">Watch for location changes</span>  check box.</span></li><li purpose="step" id="ESRI_STEP_277B7A795EF942678FE31FA4AEB467A3"><span purpose="cmd" id="GUID-B925C14D-543E-42CC-9E01-792DD48DFBC6">Click <span class="uicontrol">OK</span> to close this window.</span></li></ol></div></div>
<div class="section1" id="ESRI_SECTION1_D21DB0D3AA454E2F9E07BD4F121AD128" purpose="section1"><h2>Use the My Location widget</h2><p id="GUID-C1A30DAC-C72A-4EC8-B9BC-AE49A829FFBE">When the application starts, the My Location widget is automatically enabled to access your physical location. Clicking  <span class="uicontrol">Find my location</span> zooms the map to your current location.</p><div class="image" purpose="image"><table><tr><td><img class="break" src="03w3/GUID-2368EB8C-378C-4CEC-B42E-D9C654F95473-web.png" purpose="img" alt="Find my location" title="Find my location"></td></tr></table></div><div class="notes" id="GUID-0403DA4F-AA0B-416E-A102-711984941E46"><div class="tip"><img class="note_img" src="rsrc/tip.png" alt="Tip" title="Tip"><span>Tip:</span></div><div class="tipbody"><p id="GUID-A3DD1228-2B93-4237-AFE0-A3AA0A130A9E">You might get an  error message after clicking <span class="uicontrol">Find my location</span>. The error is often caused by  the browser's security. Check the browser's pop-up settings to allow sharing your location. Click <span class="uicontrol">Yes</span> to find your location.</p></div></div></div>
<div class="footer"> Copyright © 1995-2016 Esri. All rights reserved. </div></div></body></html>